-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding header links to sidebar on mobile #1211
Conversation
…land/docs into add-header-links-in-sidebar
…land/docs into add-header-links-in-sidebar
.doc .toc :not(.documentNavigation) > a { | ||
@apply text-xl !important; | ||
.ddoc .z-50 { | ||
z-index: 49 !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry for this hack, I can't edit the z-50 on the reference doc that is generated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you isolate it instead? May be a little cleaner. https://tailwindcss.com/docs/isolation
@philhawksworth @thisisjofrank I pushed a commit to stylize the "section picker" per Phil's feedback. I think it's in pretty ok shape, but I haven't tested it extensively. If you'd like to change it (or just blow the commit away) feel free. |
@josh-collinsworth I love this, looks super nice. We should apply it to the mobile sidebar on the homepage too, which somehow doesn't seem to be getting the styles. Can take a look tomorrow if you've no time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great! Going to make things feel far simpler
This reverts commit 0e12b28.
Add the 'top navigation' links to the sidebar on mobile
Add the mobile nav to the examples and API reference pages
Add a Scroll to top button to the API reference